/*Comments here*/

int mod(int a, int b) {
  return (a % b + b) % b;
}